//
//  NSString+MD5.h
//  青旅OA
//
//  Created by qlwl on 16/4/22.
//  Copyright © 2016年 qlwl. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (MD5)
+ (NSString *)MD5WithString:(NSString *)keyStr;
#pragma mark 3DES 加解密
+(NSString *)doEncryptStr:(NSString *)originalStr gkey:(NSString *)gkey giv:(NSString *)gIv;
+(NSString*)doDecEncryptStr:(NSString *)encryptStr gkey:(NSString *)gkey giv:(NSString *)gIv;

+ (NSString *) decryptUseDES:(NSString*)cipherText key:(NSString*)key;
+ (NSString *) encryptUseDES:(NSString *)plainText key:(NSString *)key;
@end
